public class java1{
    public static void main(String[] args) {
        Student[] stu = new Student[3];
        for (int i = 0; i <stu.length ; i++) {
            stu[i]=new Student("2022000"+i,"学生"+(i+1));
            System.out.println("学号："+stu[i].getStudentID()+"\t姓名"+stu[i].getName());
        }
    }
}